Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid using console.log in Satan.launchDaemon[child.once('message')] function #627

Merged
merged 1 commit into from
Aug 11, 2014
Merged

Conversation

Ulflander
Copy link
Contributor

It breaks pm2 jlist if daemon is not started. In short if we use pm2 jlist when daemon is not started, the output is like the following:

{ online: true, success: true, pid: 9067, pm2_version: '0.9.6' }
[]

that is not a valid JSON - jlist command is therefore unusable programmatically.

Unitech added a commit that referenced this pull request Aug 11, 2014
Avoid using console.log in Satan.launchDaemon[child.once('message')] function
@Unitech Unitech merged commit 2734f41 into Unitech:development Aug 11, 2014
@Ulflander Ulflander deleted the development branch August 11, 2014 16:57
@aikomastboom
Copy link

#281 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants